package com.badboy.mapper;

import com.badboy.entity.Comments;
import org.apache.ibatis.annotations.Select;

/**
* @author 26607
* @description 针对表【comments(存储帖子下的回复及层级关系)】的数据库操作Mapper
* @createDate 2025-05-10 21:16:11
* @Entity com.badboy.entity.Comments
*/
public interface CommentsMapper {


    int deleteByPrimaryKey(Long id);

    int insert(Comments record);

    int insertSelective(Comments record);

    Comments selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Comments record);

    int updateByPrimaryKey(Comments record);


}
